#ifndef __CONNECTION_H__
# define __CONNECTION_H__

#include <iostream>
#include <string>
#include "Player.h"
#include "Protocol.h"

class Connection
{
private:
	std::string		_hostname;
	unsigned int	_port;
	Player*			_player;

public:
	Connection(std::string ip, unsigned int port);
	~Connection();
	Connection(const Connection&);

	Connection&	operator=(const Connection&);

	const std::string&	getHostname() const;
	unsigned int		getPort() const;
};

#endif
